package com.xingchen.feima.star.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.time.LocalDate;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 长方形表，每个长方形用来代表某机组的某个时间段，时间段用来安装乏燃料或者是不可装料时间窗
 * </p>
 *
 * @author yangxc
 * @since 2025-02-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("star_rectangle")
@ApiModel(value="Rectangle对象", description="长方形表，每个长方形用来代表某机组的某个时间段，时间段用来安装乏燃料或者是不可装料时间窗")
public class Rectangle implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "x坐标")
    private Integer horizontalAxis;

    @ApiModelProperty(value = "宽度")
    private Integer width;

    @ApiModelProperty(value = "y坐标")
    private Integer verticalAxis;

    @ApiModelProperty(value = "颜色")
    private String color;

    @ApiModelProperty(value = "开始日期")
    private String startDate;

    @ApiModelProperty(value = "结束日期")
    private String endDate;

    @ApiModelProperty(value = "所属机组的名字")
    private String unitName;

    @ApiModelProperty(value = "所属计划(方案)版本的id")
    private Long versionId;

    private Date createTime;

    private Date updateTime;


}
